package com.hym.observe;

/**
 * 测试主程
 * 
 * */
public class Client {

	public static void main(String[] args) throws InterruptedException {
		ObservableModle observableModle=new ObservableModle();
		ObserverModle observerModle=new ObserverModle();
		observableModle.addObserver(observerModle);
		observableModle.doSometing("做一些事情..");

	}

}
